package com.work.model.builder;

import java.util.Date;

import com.work.model.Sprint;

/**
 * The Class SprintBuilder.
 *
 * @author "Mihai Roman"
 */
public class SprintBuilder extends Builder<Sprint>{

	/**
	 * With created by.
	 *
	 * @param createdBy the created by
	 * @return the sprint builder
	 */
	private SprintBuilder withCreatedBy(int createdBy) {
		return this;
	}
	
	/**
	 * With creation date.
	 *
	 * @param creationDate the creation date
	 * @return the sprint builder
	 */
	private SprintBuilder withCreationDate(Date creationDate) {
		build().setCreationDate(creationDate);
		return this;
	}
	
	/**
	 * With duration.
	 *
	 * @param duration the duration
	 * @return the sprint builder
	 */
	private SprintBuilder withDuration(int duration) {
		build().setDuration(duration);
		return this;
	}
	
	/**
	 * With end date.
	 *
	 * @param endDate the end date
	 * @return the sprint builder
	 */
	private SprintBuilder withEndDate(Date endDate) {
		build().setEndDate(endDate);
		return this;
	}
	
	/**
	 * With id project.
	 *
	 * @param idProject the id project
	 * @return the sprint builder
	 */
	private SprintBuilder withIdProject(int idProject) {
		return this;
	}
	
	/**
	 * With name.
	 *
	 * @param name the name
	 * @return the sprint builder
	 */
	private SprintBuilder withName(String name) {
		build().setName(name);
		return this;
	}
	
	/**
	 * With start date.
	 *
	 * @param startDate the start date
	 * @return the sprint builder
	 */
	private SprintBuilder withStartDate(Date startDate) {
		build().setStartDate(startDate);
		return this;
	}
	
	/**
	 * With updated by.
	 *
	 * @param updatedBy the updated by
	 * @return the sprint builder
	 */
	private SprintBuilder withUpdatedBy(int updatedBy) {
		return this;
	}
	
	/**
	 * With updated date.
	 *
	 * @param updatedDate the updated date
	 * @return the sprint builder
	 */
	private SprintBuilder withUpdatedDate(Date updatedDate) {
		build().setUpdatedDate(updatedDate);
		return this;
	}
	
}
